<?php
require'mysql.php';
$con = mysql::getInstance()->connect();
echo "MySQL线程号:" .mysqli_thread_id($con)."<br/>";
echo "Apache进程号:".getmypid();
exit;

//查询语句
$sql='select * from users limit 1';
//执行，返回结果集
$result= mysqli_query($con, $sql, MYSQLI_USE_RESULT);
//添加的新数组
$arr3=array();
while ($row=mysqli_fetch_row($result)){
    array_push($arr3,$row);
}
